﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ListForms;
using DevExpress.XtraReports.UI;

namespace ReceivingDelivering.ReportGenerators
{
    public partial class FrmReportGraphicInstock : FrmBaseEditForm
    {
        public FrmReportGraphicInstock()
        {
            InitializeComponent();
            deAtTime.DateTime = DateTime.Now;
        }

        private void btnBasicExit_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnBasicPreviewReport_Click(object sender, EventArgs e)
        {
            ReportGraphicInstock rpt= new ReportGraphicInstock();
            rpt.GeneraReport(deAtTime.DateTime);
            rpt.ShowPreview();
        }
    }
}